<!-- head -->
{include file='public/head' /}
<!-- head -->
<!-- left -->
{include file='public/left' /}
<!-- left -->

<div class="content-wrapper">
    <section class="content-header">
        <h1>
            入驻费列表
            <small>全部入驻费</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 收费管理</a></li>
            <li class="active">入驻费</li>
        </ol>
    </section>

    <section class="content">
        <div class="row">
            <div class="col-sm-12">
                <div class="box box-primary">
                    <div class="box-header with-border">
                        <h3 class="box-title" style="font-size: 14px;">共计{$AdminList->total()}条记录 <span style="color: red">{$sellordermoney}</span>元</h3>
                        <div class="box-tools pull-right">
                            <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                            </button>
                            <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
                        </div>
                    </div>
                    <div class="box-body">
                        <div class="table-responsive">
                            <table class="table table-bordered table-striped">
                                <form id='iform' action="{:url('Money/enterMoneyList')}" method="post">
                                    <div class="input-group">
                                        <input type="text" name="store_name" value="{$store_name}" class="form-control" style="width: 25%;" placeholder="请输入店铺名称...">
                                        <input type="text" name="store_phone" value="{$store_phone}" class="form-control" style="width: 25%;" placeholder="请输入店铺手机号...">
                                        <input type="text" name="ordnum" value="{$ordnum}" class="form-control" style="width: 25%;" placeholder="请输入订单号...">
                                        <select class="form-control select" style="width: 25%;" name="adminid">
                                            <option selected="selected" value="0">所有人员</option>
                                            {volist name='selladmin' id='adminlist'}
                                            {if condition="$adminlist['id'] eq $adminid"}
                                            <option value="{$adminlist.id}" selected>{$adminlist.admin_note}</option>
                                            {else/}
                                            <option value="{$adminlist.id}">{$adminlist.admin_note}</option>
                                            {/if}
                                            {/volist}
                                        </select>
                                        <span class="input-group-btn">
                                            <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                                            </button>
                                        </span>
                                    </div>
                                </form>
                                <thead>
                                    <tr>
                                        <th>编号</th>
                                        <th>店铺名称</th>
                                        <th>销售名字</th>
                                        <th>入驻费</th>
                                        <th>支付金额</th>
                                        <th>支付方式</th>
                                        <th>订单编号</th>
                                        <th>第三方支付号</th>
                                        <th>付款时间</th>
                                        <th>生成时间</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    {volist name='AdminList' id='admin'}
                                    <tr>
                                        <td>{$admin.id}</td>
                                        <td>{$admin.store_name}</td>
                                        <td>{$admin.admin_note}</td>
                                        <td><span style="color: #00a65a">{$admin.enter_money}</span></td>
                                        <td>{$admin.pay_money}</td>
                                        <td>
                                            {if condition="$admin.ordtype eq 1"}支付宝
                                            {else /}微信
                                            {/if}
                                        </td>
                                        <td>{$admin.ord_num}</td>
                                        <td>
                                            {if condition="$admin.ordtype eq 1"}{$admin.alipay_trade_no}
                                            {else /}{$admin.wx_trade_no}
                                            {/if}
                                        </td>
                                        <td>{$admin.pay_time|date='Y-m-d H:i:s',###}</td>
                                        <td>{$admin.add_time|date='Y-m-d H:i:s',###}</td>
                                    </tr>
                                    {/volist}
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="box-footer clearfix" style="text-align: center">
                        {$AdminList->render()}
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>
<!-- foot -->
{include file='public/foot' /}
<!-- foot -->